
README file
December 5, 2018

This archive contains the code and data to replicate all the figures and the table in Michael A. Clemens and Lant Pritchett, "The New Economic Case for Migration Restrictions: An Assessment".

There are three parts:

1) Replication code and data for Figure 1. This figure is created in Gauss and the replication files are:

-- tfp_fg.gpr
-- oall.fmt
-- odata.fmt
-- ofb.fmt
-- otfp.fmt

2) Replication code and data for Table 1 and Figures 5 and 7. These are created in Stata 15.1 and the replication files are:

-- clemens prichett JDE replication.do
-- acs20082012withpuma_reduced.dta
-- Table 1 last two rows calculation.xlsx

To run properly, the code must be in the same directory as the data file "acs20082012withpuma_reduced.dta", and the filepath to that directory must be added to the .do file in the place therein indicated.

Note that the last two rows of Table 1 are calculated separately in an Excel file that is included in the bundle.

3) TikZ code to replicate Figures 2, 3, 4, 6, and 8. These are created in LaTeX and the replication files are:

-- fig2.tex
-- fig3.tex
-- fig4a.tex
-- fig4b.tex
-- fig4c.tex
-- fig6.tex
-- fig8.tex

